package com.tarena.lbs.marketing.mapper;

import com.tarena.lbs.pojo.marketing.dos.CouponDO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CouponMapper {
    List<CouponDO> selectCouponPage(CouponDO couponDO);

    void insert(CouponDO cDO);

    @Select("select * from tarena_lbs_marketing.coupon where id=#{id}")
    CouponDO selectCouponById(Integer id);
}
